package com.photographysharing.response;

import java.util.List;

public class DatasResponse<T> extends MessageResponse {
    private  long Total;
    private List<T> Datas;
    public DatasResponse(){
        super();
    }
    public DatasResponse(int total){
        super();
        Total = total;
    }
    public DatasResponse(String msg,boolean b){
        super(msg,b);
    }
    public DatasResponse(int total,List<T> datas){
        this(total);
        Datas = datas;
    }

    public List<T> getDatas() {
        return Datas;
    }

    public void setDatas(List<T> datas) {
        Datas = datas;
    }

    public long getTotal() {
        return Total;
    }

    public void setTotal(long total) {
        Total = total;
    }
}
